package com.lxl.bt.bean;

import com.contrarywind.interfaces.IPickerViewData;

import java.io.Serializable;
import java.util.List;

/**
 * Create by lvxinlong  229608356@qq.com
 * desc
 * on
 **/
public class PersonTrackBody implements Serializable {

    private List<PersonnelListBean> personnelList;

    public List<PersonnelListBean> getPersonnelList() {
        return personnelList;
    }

    public void setPersonnelList(List<PersonnelListBean> personnelList) {
        this.personnelList = personnelList;
    }

    public static class PersonnelListBean implements Serializable, IPickerViewData {
        /**
         * id : bf80856598174a9c96aaa609fcc39c35
         * ownerName : 孙美英
         * longitude : 121.485698
         * latitude : 30.856992
         * eventTime : 1600648808000
         * online : 1
         * onlineStr : 在线
         */

        private String id;
        private String ownerName;
        private double longitude;
        private double latitude;
        private long eventTime;
        private int online;
        private String onlineStr;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getOwnerName() {
            return ownerName;
        }

        public void setOwnerName(String ownerName) {
            this.ownerName = ownerName;
        }

        public double getLongitude() {
            return longitude;
        }

        public void setLongitude(double longitude) {
            this.longitude = longitude;
        }

        public double getLatitude() {
            return latitude;
        }

        public void setLatitude(double latitude) {
            this.latitude = latitude;
        }

        public long getEventTime() {
            return eventTime;
        }

        public void setEventTime(long eventTime) {
            this.eventTime = eventTime;
        }

        public int getOnline() {
            return online;
        }

        public void setOnline(int online) {
            this.online = online;
        }

        public String getOnlineStr() {
            return onlineStr;
        }

        public void setOnlineStr(String onlineStr) {
            this.onlineStr = onlineStr;
        }

        @Override
        public String getPickerViewText() {
            return ownerName;
        }
    }
}
